package top.aicats.blog.BlogManage.model;

import javax.persistence.Entity;
import javax.persistence.Id;
import java.sql.Timestamp;

/**
 * @author sjc
 * @version 1.0
 * @date 2020/1/5 14:48
 * @email 952491025@qq.com
 */
@Entity
public class Users {
    @Id
    private String userRefid;
    private String userName;
    private String password;
    private Timestamp createTime;
    private boolean isActive;
    private boolean isDeleted;
    private String email;
    private String nickname;

    public String getUserRefid() {
        return userRefid;
    }

    public void setUserRefid(String userRefid) {
        this.userRefid = userRefid;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Timestamp getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Timestamp createTime) {
        this.createTime = createTime;
    }

    public boolean isActive() {
        return isActive;
    }

    public void setActive(boolean active) {
        isActive = active;
    }

    public boolean isDeleted() {
        return isDeleted;
    }

    public void setDeleted(boolean deleted) {
        isDeleted = deleted;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

}
